package arie.simplexample.persistance;

import arie.simplexample.domain.Person;

public class PersistPerson {

	public static void persist(Person p){
		System.out.println("Persist Person -> Name: " + p.getFirstname() +" "+ p.getLastname() +" Age: " + p.getAge());
	}
	
	public static Person load(){
		Person p = new Person();
		p.setAge(30);
		p.setFirstname("Arie");
		p.setLastname("van der Veek");
		return p;
	}
	
}
